/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: url('../imgs/fcontainer\ .png') no-repeat center center fixed; /* Full-page background */
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Form Box Styling */
.form-box {
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: pink; 
    position: relative; 
}

/* Form Box Inner Overlay for Text Contrast */
.form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    border-radius: 8px;
    z-index: 1;
}

.form-box * {
    position: relative;
    z-index: 2; /* Ensure form content is above overlay */
}

/* Heading */
.form-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Inputs */
input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border-color: #57C79B;
    outline: none;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background-color: #57C79B;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4ba477;
}

/* Links */
a {
    color: #57C79B;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
}

a:hover {
    text-decoration: underline;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .form-box {
        width: 90%;
        padding: 20px;
    }

    .form-box h2 {
        font-size: 28px; /* Adjusted to a reasonable size for smaller screens */
    }
}
